<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/6/23
  Time: 10:12
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>住院病人</title>
    <jsp:include page="../includes/header.jsp"/>
    <link rel="stylesheet" type="text/css" href="../../static/assets/css/datatable.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <jsp:include page="../includes/nav.jsp"/>

    <!-- Left side column. contains the logo and sidebar -->
    <jsp:include page="../includes/menu.jsp"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <section class="content-header">
            <h1>
                住院病人
            </h1>
            <br/>
            <small></small>
            <ol class="breadcrumb">
                <li><a href="main"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li class="active">住院病人</li>
            </ol>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">

                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">住院病人</h3>

                        </div>
                        <div class="box-body table-responsive">
                            <table id="dataTable" class="table table-hover table-bordered">
                                <thead>
                                <tr>
                                    <th><input type="checkbox" class="minimal icheck_master" /></th>
                                    <th>zx</th>
                                    <th>诊断结果</th>
                                    <th>住院诊断</th>
                                    <th>次数</th>
                                    <th>住院病人编号</th>
                                    <th>住院病人编号</th>
                                    <th>保险账号</th>
                                    <th>保险</th>
                                    <th>病人姓名</th>
                                    <th>拼音名</th>
                                    <th>五笔名</th>
                                    <th>性别代码（2是女，1是男）</th>
                                    <th>性别</th>
                                    <th>婚姻状况</th>
                                    <th>出生日期</th>
                                    <th>身份证号</th>
                                    <th>职业</th>
                                    <th>出生地</th>
                                    <th>民族</th>
                                    <th>国籍</th>
                                    <th>工作单位名称</th>
                                    <th>工作单位地址</th>
                                    <th>工作单位电话</th>
                                    <th>家庭地址</th>
                                    <th>家庭电话</th>
                                    <th>工作单位</th>
                                    <th>家庭医保</th>
                                    <th>联系人（关系名称）</th>
                                    <th>联系人关系</th>
                                    <th>联系人地址</th>
                                    <th>联系人电话</th>
                                    <th>（登记）来源</th>
                                    <th>病人id</th>
                                    <th>住院病人id</th>
                                    <th>保险单ID</th>
                                    <th>床号</th>
                                    <th>出院类型</th>
                                    <th>标识</th>
                                    <th>入院病区</th>
                                    <th>入院状态</th>
                                    <th>病室id</th>
                                    <th>入院日期</th>
                                    <th>出院方式</th>
                                    <th>出院日期</th>
                                    <th>诊断日期</th>
                                    <th>主治医师</th>
                                    <th>住院医生</th>
                                    <th>护士长</th>
                                    <th>门诊部医生</th>
                                    <th>临床诊断</th>
                                    <th>入院诊断</th>
                                    <th>出院诊断</th>
                                    <th>担保人</th>
                                    <th>药监局限制</th>
                                    <th>预定时间</th>
                                    <th>预定操作</th>
                                    <th>病情描述</th>
                                    <th>取消位</th>
                                    <th>取消时间</th>
                                    <th>取消操作</th>
                                    <th>医保余额</th>
                                    <th>是否为吉首医保</th>
                                    <th>医保类型</th>
                                    <th>门诊部</th>
                                    <th>病人类型</th>
                                    <th>担保金额</th>
                                    <th>出院日期</th>
                                    <th>薪资类型</th>
                                    <th>待遇类型</th>
                                    <th>保险处方号</th>
                                    <th>保证方式</th>
                                    <th>医疗账号</th>
                                    <th>冻结标志</th>
                                    <th>监管部门</th>
                                    <th>入院天数</th>
                                    <th>医院召回</th>
                                </tr>
                                </thead>
                                <tbody>
                                <c:forEach items="#{vizyinpatient}" var="info">
                                    <tr>
                                        <td><input id="${info.inpatientNo}" type="checkbox" class="minimal" /></td>
                                        <td>${info.zx}</td>
                                        <td>${info.outDiagnosisH}</td>
                                        <td>${info.zyzd}</td>
                                        <td>${info.times}</td>
                                        <td>${info.inpatientNo}</td>
                                        <td>${info.inpatientBano}</td>
                                        <td>${info.insureaccount}</td>
                                        <td>${info.insureorgan}</td>
                                        <td>${info.name}</td>
                                        <td>${info.pym}</td>
                                        <td>${info.wbm}</td>
                                        <td>${info.sexcode}</td>
                                        <td>${info.sex}</td>
                                        <td>${info.maritals}</td>
                                        <td>${info.birthday}</td>
                                        <td>${info.socialNo}</td>
                                        <td>${info.profession}</td>
                                        <td>${info.birthplace}</td>
                                        <td>${info.folk}</td>
                                        <td>${info.nationality}</td>
                                        <td>${info.unitName}</td>
                                        <td>${info.unitStreet}</td>
                                        <td>${info.unitTel}</td>
                                        <td>${info.homeStreet}</td>
                                        <td>${info.homeTel}</td>
                                        <td>${info.gzdw}</td>
                                        <td>${info.homeZip}</td>
                                        <td>${info.relationName}</td>
                                        <td>${info.relation}</td>
                                        <td>${info.relationStreet}</td>
                                        <td>${info.relationTel}</td>
                                        <td>${info.source}</td>
                                        <td>${info.patientId}</td>
                                        <td>${info.inpatientId}</td>
                                        <td>${info.insureId}</td>
                                        <td>${info.bedId}</td>
                                        <td>${info.dischargetype}</td>
                                        <td>${info.flag}</td>
                                        <td>${info.inDept}</td>
                                        <td>${info.inStatus}</td>
                                        <td>${info.deptId}</td>
                                        <td>${info.inDate}</td>
                                        <td>${info.outMode}</td>
                                        <td>${info.outDate}</td>
                                        <td>${info.diagnoseDate}</td>
                                        <td>${info.zzDoc}</td>
                                        <td>${info.zyDoc}</td>
                                        <td>${info.chargenurse}</td>
                                        <td>${info.clinicDoc}</td>
                                        <td>${info.clinicDiagnosis}</td>
                                        <td>${info.inDiagnosis}</td>
                                        <td>${info.outDiagnosis}</td>
                                        <td>${info.warrantor}</td>
                                        <td>${info.yjjLimit}</td>
                                        <td>${info.bookDate}</td>
                                        <td>${info.bookOper}</td>
                                        <td>${info.sickdescription}</td>
                                        <td>${info.cancelBit}</td>
                                        <td>${info.cancelDate}</td>
                                        <td>${info.cancelOper}</td>
                                        <td>${info.ybye}</td>
                                        <td>${info.isYbjs}</td>
                                        <td>${info.yblx}</td>
                                        <td>${info.clinicDocDept}</td>
                                        <td>${info.patienttype}</td>
                                        <td>${info.warrantamount}</td>
                                        <td>${info.dischargeDate}</td>
                                        <td>${info.xzlx}</td>
                                        <td>${info.dylx}</td>
                                        <td>${info.insurCfh}</td>
                                        <td>${info.bzfx}</td>
                                        <td>${info.ylzh}</td>
                                        <td>${info.freezeFlag}</td>
                                        <td>${info.jgbm}</td>
                                        <td>${info.ryts}</td>
                                        <td>${info.hospitalrecall}</td>
                                    </tr>
                                </c:forEach>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

        </section>

    </div>
    <jsp:include page="../includes/copyright.jsp"/>
</div>
<jsp:include page="../includes/footer.jsp"/>
</body>
<script>
    $(function () {
        $("#dataTable").DataTable({
            "info":false,
            "paging":true,
            "lengthChange":false,
            "ordering":false,
            "searching":false,
            "severSide":true,
            "deferRender":true,
        });
    });
</script>
</html>
